package com.ys.enume.business;

public class TpAmazonShopEnum {
	
	public enum StateNoRule {
		NORTH("北美", 0), ASIA("远东", 1),EUROPE("欧洲", 3),;
		public String name;
		public Integer value;

		private StateNoRule(String name, Integer value) {
			this.name = name;
			this.value = value;
		}

		public static String getName(int value) {
			for (StateNoRule e : StateNoRule.values()) {
				if (e.value == value) {
					return e.name;
				}
			}

			return "";
		}
	}
}
